﻿@model IEnumerable<HdipCricketClub.Models.ClubFixturePlayer>

@{
    ViewBag.Title = "Confirmed Team";
}

<h2>@ViewBag.Title</h2>

<table>
    <tr>
        <th>
            Player No:
        </th>
        <th>
            Name:
        </th>
        <th>
            contacted
        </th>
        <th>
            confirmed
        </th>
        <th></th>
    </tr>

@foreach (var item in Model) {
    <tr>
        <td>
            @Html.DisplayFor(modelItem => item.player_no)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.Member.first_name) @Html.DisplayFor(modelItem => item.Member.last_name)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.contacted)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.confirmed)
        </td>
    </tr>
}

</table>

<p>
    @Html.ActionLink("Home", "Index", "Home")
</p>



